package com.bestcem.xm.survey.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @TableName ds_survey_customstruct
 */
@TableName(value ="ds_survey_customstruct")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyCustomStruct extends BaseEntity2 {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 自定义数据Meta ID
     */
    @TableField(value = "meta_id")
    private String metaId;

    /**
     * 版本号
     */
    @TableField(value = "version")
    private Integer version;

    /**
     * 定制数据字段定义（索引字段也需要在此定义）
     */
    @TableField(value = "fields")
    private String fields;
}